{include file="public/header" /}
<body>
<div class="x-body">
    <form action="{:url('save')}" class="layui-form" id="form">
        <input type="hidden" name="id" value="{$info.id}"/>
        {include file="public/arguments" /}
        <div class="layui-form-item">
            <label class="layui-form-label">会员昵称 </label>
            <div class="layui-input-inline">
                <input type="text" name="nickname" lay-verify="required" lay-reqtext="请输入会员昵称" value="{$info.nickname}" placeholder="请输入会员昵称" class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机号 </label>
            <div class="layui-input-inline">
                <input type="text" name="mobile" lay-verify="required" lay-reqtext="请输入手机号" value="{$info.mobile}" placeholder="请输入手机号" class="layui-input"/>
            </div>
        </div>
        {if $info.is_active == 2}
        <div class="layui-form-item">
            <label class="layui-form-label">会员等级 </label>
            <div class="layui-input-inline">
                <select name="level_id">
                    <option value="0">无</option>
                    {volist name="level_list" id="v"}
                    <option value="{$v.id}" {if $v.id==$info.level_id}selected{/if}>{$v.title}</option>
                    {/volist}
                </select>
            </div>
        </div>
        {/if}
        <div class="layui-form-item">
            <label class="layui-form-label">锁定登录</label>
            <div class="layui-input-inline">
                <input type="radio" name="is_lock" value="0" title="正常" {if !$info.is_lock} checked {/if}>
                <input type="radio" name="is_lock" value="1" title="锁定" {if $info.is_lock} checked {/if}>
            </div>
        </div>
        {include file="public/submit" /}
    </form>
</div>
</body>
{include file="public/footer" /}
</html>